package com.lznb.cloud.entity;

import com.lznb.cloud.utils.IsQuery;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author mzy
 * @email 1992lcg@163.com
 * @date ${datetime}
 */
@Entity
@Table(name="NEWS_HOTSPOTS")
public class NewsHotspots implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//热闻ID
		@IsQuery
		    @Id
    private String hotspotsId;
	
	//新闻ID
		@IsQuery
		    private String newsId;
	
	//新闻得分
		@IsQuery
		    private Integer newsScore;
	
	//新闻发布时间
		    private Date newsPublishtime;
	
	//更新时间
		    private Date updateTime;
	

	/**
	 * 设置：热闻ID
	 */
	public void setHotspotsId(String hotspotsId) {
		this.hotspotsId = hotspotsId;
	}
	/**
	 * 获取：热闻ID
	 */
	public String getHotspotsId() {
		return hotspotsId;
	}
	/**
	 * 设置：新闻ID
	 */
	public void setNewsId(String newsId) {
		this.newsId = newsId;
	}
	/**
	 * 获取：新闻ID
	 */
	public String getNewsId() {
		return newsId;
	}
	/**
	 * 设置：新闻得分
	 */
	public void setNewsScore(Integer newsScore) {
		this.newsScore = newsScore;
	}
	/**
	 * 获取：新闻得分
	 */
	public Integer getNewsScore() {
		return newsScore;
	}
	/**
	 * 设置：新闻发布时间
	 */
	public void setNewsPublishtime(Date newsPublishtime) {
		this.newsPublishtime = newsPublishtime;
	}
	/**
	 * 获取：新闻发布时间
	 */
	public Date getNewsPublishtime() {
		return newsPublishtime;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
}
